import { createWebHistory,createRouter } from 'vue-router'

const routes=[
    {
        path:'/',
        name:'Home',
        component:()=>import('../pages/Home.vue'),
        children:[
            {
                path:'/information',
                name:'Information',
                component:()=>import('../pages/Information.vue')
            },
            {
                path:'/application',
                name:'Application',
                component:()=>import('../pages/Application.vue')
            },
            {
                path:'/manage',
                name:'Manage',
                component:()=>import('../pages/Manage.vue')
            },
            {
                path:'/method',
                name:'Method',
                component:()=>import('../pages/Method.vue')
            },
            {
                path:'/date',
                name:'Date',
                component:()=>import('../pages/Date.vue')
            },
            {
                path:'/workflow',
                name:'Workflow',
                component:()=>import('../pages/Workflow.vue')
            },
            {
                path:'/set',
                name:'Set',
                component:()=>import('../pages/Set.vue')
            },
            {
                path:'/delete',
                name:'Delete',
                component:()=>import('../pages/Delete.vue')
            }

        ]
    },
    // {
    //     path:"/applica",
    //     name:"Applica",
    //     component:()=>import('../components/Applica.vue')
    // }
]

const router = createRouter({
    history:createWebHistory(),
    routes
})

export default router